<extend name='Layout/index' />

<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">用户管理</li>
</block>

<block name='page_header'>
	<h1 style="font-size:14px">
		用户管理
		<i class="icon-double-angle-right"></i>
		 会员管理
		<i class="icon-double-angle-right"></i>
		 独白审核
	</h1>
</block>

<block name='main_content'>
	<div class="row">
		<div class="col-md-12">
			<table class='table'>
			<thead>
				<tr>
					<th>序号</th>
					<th>姓名</th>
					<th>独白内容</th>
					<th>审核</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<?php  $aaa=1 ?>
				<volist name='list' id='vo'>
				<tr style="font-size:14px;font-weight:bold;color:#999;height:60px;">
					<td  class="col-md-1" style="vertical-align:middle;"><?php echo $aaa++ ?></td>
					<td  class="col-md-1" style="vertical-align:middle;"><{$vo.name}></td>
					<td  class="col-md-4" style="vertical-align:middle;"><?php 
						$solilo = $vo['solilo'];
					echo $vo['solilo'] == ''?"主人很懒，什么都没有留下。。。":".$solilo"?></td>

					<?php if($solilo == '' && $vo['sstatus'] == 0){?>
							<td  class="col-md-3" style="vertical-align:middle;">
							</td>
							<td class="col-md-2" style="margin-top:20px;">
							</td>

					<?php }elseif($solilo != '' && $vo['sstatus'] == 0){  ?>
							<td  class="col-md-3" style="vertical-align:middle;">
								<a  style="margin-top:20px;margin-left:-45px;"href="<{:U('review', array('id'=>$vo['id'],'ss'=>2))}>" class="btn">Pass</a>
								<span>&nbsp</span>
								<a  style="margin-top:20px;margin-left:-16px;"href="<{:U('review', array('id'=>$vo['id'],'ss'=>1))}>"  class="btn btn-danger">Fail</a>
							</td>
							<td class="col-md-2" style="margin-top:20px;">
								<a  style="margin-top:20px;margin-left:-16px;"href="<{:U('delete', array('id'=>$vo['id']))}>" class="btn btn-danger">删除</a>

								<!-- <input class="btn btn-info" type="file" name="touxiang"> 	-->
								
							</td>
					<?php }elseif($solilo != '' && $vo['sstatus'] == 1){  ?>
							<td  class="col-md-3" style="vertical-align:middle;">
							<div  style="margin-left:-25px;">已审核 未通过！</div>
							</td>
							<td class="col-md-2" style="margin-top:20px;">
								<a  style="margin-top:20px;margin-left:-16px;"href="<{:U('delete', array('id'=>$vo['id']))}>" class="btn btn-danger">删除</a>

								<!-- <input class="btn btn-info" type="file" name="touxiang"> 	-->
								
							</td>
					<?php }elseif($solilo != '' && $vo['sstatus'] == 2){  ?>
							<td  class="col-md-3" style="vertical-align:middle;">
							<div style="margin-left:-25px;">已审核 通过！</div>
							</td>
							<td class="col-md-2" style="margin-top:20px;">
								<a  style="margin-top:20px;margin-left:-16px;"href="<{:U('delete', array('id'=>$vo['id']))}>" class="btn btn-danger">删除</a>

								<!-- <input class="btn btn-info" type="file" name="touxiang"> 	-->
								
							</td>
					<?php } ?>
					
				</tr>  
				</volist>
			</tbody>
		</table>
		</div>
	</div>

								
</block>